package com.fintech.third.model;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;

/**
 * 第三方时效性DTO
 * 
 * @author tux
 *
 */
public class ThirdEffectDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -108413150272084192L;

	/**
	 * 接口编码
	 */
	private String interfaceCode;
	/**
	 * 产品大类
	 */
	private String productType;
	/**
	 * 证件号码
	 */
	private String custIdCard;
	/**
	 * 手机号码
	 */
	private String mobileNo;
	/**
	 * 贷款编号
	 */
	private String loanId;
	/**
	 * 时效性贷款编号
	 */
	private String effectLoanId;
	/**
	 * 有效时间（天）
	 */
	private int effectTime;
	/**
	 * 请求唯一编号
	 */
	private String reqNo;
	/**
	 * 是否走特殊的时间有效性流程
	 */
	private boolean isSpecial;
	/**
	 * 扩展预留参数（平时不使用）
	 */
	private Object obj;
	/**
	 * 时效性标识<BR>
	 * 0：需要重新查询<BR>
	 * 1：停止查询（接口停用）<BR>
	 * 2：需要重新查询，并且时效性中间表要记录结果数据<BR>
	 * 3：无需重新查询，取历史数据<BR>
	 */
	private String effectFlag;
	
	public String getEffectLoanId() {
		return effectLoanId;
	}

	public void setEffectLoanId(String effectLoanId) {
		this.effectLoanId = effectLoanId;
	}

	public String getInterfaceCode() {
		return interfaceCode;
	}

	public void setInterfaceCode(String interfaceCode) {
		this.interfaceCode = interfaceCode;
	}

	public String getProductType() {
		return productType;
	}

	public void setProductType(String productType) {
		this.productType = productType;
	}

	public String getCustIdCard() {
		return custIdCard;
	}

	public void setCustIdCard(String custIdCard) {
		this.custIdCard = custIdCard;
	}

	public String getMobileNo() {
		return mobileNo;
	}

	public void setMobileNo(String mobileNo) {
		this.mobileNo = mobileNo;
	}

	public int getEffectTime() {
		return effectTime;
	}

	public void setEffectTime(int effectTime) {
		this.effectTime = effectTime;
	}

	public String getLoanId() {
		return loanId;
	}

	public void setLoanId(String loanId) {
		this.loanId = loanId;
	}

	public String getReqNo() {
		return reqNo;
	}

	public void setReqNo(String reqNo) {
		this.reqNo = reqNo;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	public boolean isSpecial() {
		return isSpecial;
	}

	public void setSpecial(boolean isSpecial) {
		this.isSpecial = isSpecial;
	}

	public String getEffectFlag() {
		return effectFlag;
	}

	public void setEffectFlag(String effectFlag) {
		this.effectFlag = effectFlag;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}
}
